const { contextBridge, ipcRenderer } = require('electron');

contextBridge.exposeInMainWorld('ipcRenderer', {
  runScript: (scriptName) => ipcRenderer.invoke('run-script', scriptName),
});